package com.example.demo.domain;

public class Content {
    private Long id;

    private String text;

    private String texthtml;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getTexthtml() {
        return texthtml;
    }

    public void setTexthtml(String texthtml) {
        this.texthtml = texthtml;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", text=").append(text);
        sb.append(", texthtml=").append(texthtml);
        sb.append("]");
        return sb.toString();
    }
}